package org.yoao.crm.business.service;

import java.util.List;
import java.util.Map;

import org.yoao.crm.struts.form.CustomerForm;

/**
 * @author yxwonline.com
 * @description
 * @date 2010-7-31 下午11:42:09
 */
public interface ICustomerService {
	List view(int startRow, int endRow, Map map) throws Exception;

	int getDataCount(Map map) throws Exception;

	CustomerForm getCustomer(String customerId) throws Exception;

	CustomerForm add(CustomerForm form) throws Exception;

	CustomerForm modify(CustomerForm form) throws Exception;

	void delete(String customerId) throws Exception;

	void signature(String value, String signTime, String customerType,
			String customerId) throws Exception;

	String allocation(String tableName, String id, String userSno, String assigner)
			throws Exception;

	String distribution(String customerId, String userSno, String assigner, String owner,  boolean isAdmin) throws Exception;

	String updateType(String customerId, String typeValue) throws Exception;

	void modifyMemo(String id, String memo);
}